﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Aho.PathEditor.Business.Base
{
    public class Entity: IDataErrorInfo
    {
        #region IDataErrorInfo Members

        internal System.Collections.Hashtable m_PropErrors = new System.Collections.Hashtable();
        public string Error
        {
            get;
            set;
        }

        public string this[string columnName]
        {
            get { return (string) this.m_PropErrors[columnName]; }
            
        }

        #endregion
    }
}
